﻿using Hangfire;

namespace KelonProud.BackgroundJobs.Jobs.Base
{
    public abstract class SigleJobBase
    {
        public abstract void Execute();

        public virtual void Init()
        {
            BackgroundJob.Enqueue(() => Execute());
        }
    }
}
